package com.liziguo.lzgfp.server.util;

import com.liziguo.lzgfp.server.record.ForwardRecord;
import io.netty.channel.Channel;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

/**
 * @Author: Liziguo
 * @Date: 2021/12/25 16:58
 */
public class GlobalUtil {

    //已连接客户端的channel
    public static final Map<String, Channel> client = Collections.synchronizedMap(new HashMap<>());
    //待转发的channel
    public static final Map<String, ForwardRecord> forward = Collections.synchronizedMap(new HashMap<>());

}
